﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WomanMotion.WebApi.Model.Dtos
{
    /// <summary>
    /// 更新DTO基类
    /// </summary>
    public class BaseUpdateDTO
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Required(ErrorMessage = "主键ID不能为空")]
        public long Id { get; set; }

        /// <summary>
        /// 是否禁用;1代表启用，0代表禁用
        /// </summary>
        [Required(ErrorMessage = "是否禁用不能为空")]
        public int Ifdisable { get; set; }
    }
}
